<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
*{
	color:white;
}
</style>
</head>
<body style="background:#676a6d;">
	<volist name="menus" id="vo">
		<eq name="vo.parent_id" value="0">
		<p>
			<ul>
			{$vo.rule_name}
				<volist name="menus" id="v">
					<eq name="v.parent_id" value="$vo.id">
						<li>
							<a href="../{$v.controller_name}/{$v.action_name}" target="content">{$v.rule_name}</a>
						</li>
					</eq>
				</volist>
			</ul>
		</p>
		</eq>
	</volist>
</body>
<script type="text/javascript">

	var as=document.getElementsByTagName('a');
	for (var i = 0; i < as.length; i++) {
		var a=as[i];
		a.addEventListener('click',(function(a){
			return function(){
				var href=a.getAttribute('href');
				if(a.getAttribute('target')){
					localStorage.setItem('last',href);
				}
			};
		})(a),false);
	}
</script>
</html>